package org.example.service.impl;


import org.example.Interface.entity.UserAddress;
import org.example.Interface.service.UserService;

import java.util.Arrays;
import java.util.List;

public class UserServiceImpl implements UserService {
    @Override
    public List<UserAddress> getUserAddressList(String userId) {
        UserAddress address1 = new UserAddress(1, "郑州地址1",  "1", "冯收货人1", "手机号1", "是");
        UserAddress address2 = new UserAddress(1, "郑州地址2", "2", "冯收货人2", "手机号2", "是");

        return Arrays.asList(address1, address2);
    }
}

